home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part2 / 11251 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.5 KB

  1. Path: midland.co.nz!usenet
  2. From: jsev@midland.co.nz (John Severinsen)
  3. Newsgroups: comp.sys.amiga.misc
  4. Subject: Re: AmigaOS 4.x features
  5. Date: 7 Apr 1996 10:29:44 GMT
  6. Organization: Midland Internet Limited, Network Services
  7. Message-ID: <1931.6671T1215T2518@midland.co.nz>
  8. References: <4j7ein$a6v@B1FF.mindspring.com> <4jc7g1$ipq@news.rhrz.uni-bonn.de><4jfm8i$b5n@B1FF.mindspring.com><4jgc6q$a61@reuter.cse.ogi.edu>
  9.     <4jkg5j$dva@B1FF.mindspring.com><3139.6666T726T2158@midland.co.nz>
  10.     <31637208.2913@xgw.fi> <1330.6668T421T1343@magg.net>
  11. NNTP-Posting-Host: jsev.midland.co.nz
  12. X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  13.  
  14. On 05-Apr-96 01:38:16 (Msg ID: <1330.6668T421T1343@magg.net>), Greg Blanchard
  15. wrote:
  16. --
  17.  
  18. >>John Severinsen wrote:
  19. >>
  20. >>> From my (admittedly rather limited) experience with UNIX pattern matching,
  21. >>> the AmigaDos system is more powerful (I suggest you read your manuals).
  22. >>> You have the following wildcards in AmigaDOS:
  23. >>>
  24. >>> #    - Match any number the following character
  25. >>> ?    - Match any single character
  26. >>> ()   - Group things together
  27. >>> |    - Like a logical OR
  28. >>> []   - Character ranging
  29. >>> ~    - Like a logical NOT
  30. >>> %    - Match the NULL string
  31. >>>
  32. >>> I think that's all but with these I have never come across anything that
  33. >>> can't be specifically matched.
  34.  
  35. >>And, in addition, these pattern matching operations are available to any
  36. >>application for any purpose, not just for filenames.  By accessing a single
  37. >>function in the dos.library DLL, one could easily implement a regexp string
  38. >>search feature in a text editor or database application.
  39.  
  40. >My only question is why have'nt they?????  I don't think this is in FW or
  41. >WW either.  Somebody would have mentioned it.  Could it be that those doing
  42. >the conversions/programming don't know AmiDOS all that well?
  43.  
  44. Maybe your thinking of old versions of this software.  ASL file requesters
  45. enable the programmer to specify several fields for entering data into (File,
  46. Drawer & Pattern fields).  From an old photo I have seen of WW3, there is a
  47. pattern field there to enable you to filter the file list using the above
  48. patterns (as does ADPro and I'm sure many others).
  49.  
  50.  
  51.  
  52.  
  53.  
  54. --
  55.     /// *           |One Ring to rule them all, One Ring to find them
  56.  __/// **           |One Ring to bring them all and in the darkness bind them
  57.  \XX/ * *miga       |In the land of Mordor where Shadows lie
  58.                     |
  59.  John Severinsen    |- J.R.R. Tolkien
  60.  jsev@midland.co.nz |
  61. <tsb>Thor 2.22, 07-Apr-96 20:08:14
  62.  
  63. I used to be indecisive, but now I'm not so sure
  64.  
  65.